<ul>
    <li id='recharge_member'><a href="{:U('Agent/Money/recharge_member')}">给玩家充值</a></li>
    <switch name="site_type">
        <case value="agent">
            <li id='recharge_sub'><a href="{:U('Agent/Money/recharge_sub')}">给下级代理充值</a></li>
        </case>
    </switch>    
</ul>

<script>
    var current_tab="{:I('path.1')}";   
    $("#"+current_tab).addClass("on");
</script>